import Axios from 'axios'
export default {
    data(){
        return {
            name:'李四',
            lists:[111,444,222,333],
            data:[],
        }
    },
    created() {
        
        this.setList()
    },
    methods:{
       setList(){
        Axios.get('/api/getList').then(res=>{
            this.data=res.data
        })
       }
    }
}